Get an Array buffer informationΒΆ
Get an array buffer information.
Expected output:
Array buffer start address in memory and number of elements:
(25855056, 2)
from array import array
A = array("I", (12,25))
print("Array buffer start address in memory and number of elements:")
print(A.buffer_info())
Output:
Array buffer start address in memory and number of elements:
(15702800, 2)